
local message_type = {

    Inited = "service-inited",

    OnClientConnected = "on-client-connected",
    OnClientDisconnected = "on-client-disconnected",
    DisconnectClient = "send-disconnect-client",

    --agents
    OnPlayerOnline = "on-player-online",
    OnPlayerOffline = "on-player-offline",

    Forward2Client = "forward-2-client",

    RegisterPlayerStateNotify = "register-player-state-notify",

    --match
    MessageId_BeginMatchReq = "MessageId_BeginMatchReq",
    MessageId_BeginMatchResp = "MessageId_BeginMatchResp",

    MessageId_CancelMatchReq = "MessageId_CancelMatchReq",
    MessageId_CancelMatchResp = "MessageId_CancelMatchResp",

    MessageId_NotifyMatchInfo = "MessageId_NotifyMatchInfo",

    MessageId_FightReadyReq = "MessageId_FightReadyReq",
    MessageId_FightReadyResp = "MessageId_FightReadyResp",

    MessageId_NotifyGameStart = "MessageId_NotifyGameStart",

    MessageId_EndGameReq = "MessageId_EndGameReq",
    MessageId_EndGameResp = "MessageId_EndGameResp",
    MessageId_NotifyGameEndFailed = "MessageId_NotifyGameEndFailed",

    --race
    RegisterRaceRoomReq = "register-race-room-req",
    RegisterRaceRoomResp = "register-race-room-resp",

    MessageId_InputFrame = "MessageId_InputFrame",
    MessageId_NotifySyncFrames = "MessageId_NotifySyncFrames",
    MessageId_GetFramesReq = "MessageId_GetFramesReq",
    MessageId_GetFramesResp = "MessageId_GetFramesResp",

    DestroyRaceRoom = "destroy-race-room",
    RaceRoomEnd = "race-room-end",

}

return message_type